package com.jingdianjichi.oss.adapter;

import com.jingdianjichi.oss.entity.FileInfo;
import org.springframework.web.multipart.MultipartFile;

import java.io.InputStream;
import java.util.Collections;
import java.util.List;

public class AliAdapter implements StorageAdapter {
    @Override
    public void createBucket(String bucket) {

    }

    @Override
    public void uploadFile(MultipartFile multipartFile, String bucket, String objectName) {

    }

    @Override
    public List<String> listBucket() {
        return Collections.emptyList();
    }

    @Override
    public List<FileInfo> getAllFiles(String bucket) {
        return Collections.emptyList();
    }

    @Override
    public InputStream downloadFile(String bucket, String objectName) {
        return null;
    }

    @Override
    public void deleteBucket(String bucket) {

    }

    @Override
    public void deleteFile(String bucket, String objectName) {

    }

    @Override
    public String getUrl(String buckName, String objectName) {
        return null;
    }
}
